package com.fluagen.example.vertx.asyn;

import io.vertx.core.DeploymentOptions;
import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;

public class MainVerticle{

	public static void main(String[] args){
		VertxOptions vo = new VertxOptions();
        vo.setEventLoopPoolSize(16);
        Vertx vertx = Vertx.vertx(vo);
        DeploymentOptions options = new DeploymentOptions();
        
        vertx.deployVerticle(Server.class.getName(), options, e -> {
        	System.out.println(e.succeeded());
            System.out.println(e.failed());
            System.out.println(e.cause());
            System.out.println(e.result());
        });
	}
}
